package com.cb.orderservice.client;

import com.cb.utils.ordervo.UcenterMemberOrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

/**
 * @author cb
 * @version 1.0
 * @date 2020/6/29 21:54
 */
@Component
@FeignClient(name = "service-ucenter")
public interface UcenterClient {

    @PostMapping("/ucenterservice/member/getUserInfoOrder/{userId}")
    UcenterMemberOrderVo getUserInfoOrder(@PathVariable("userId") String userId);

}
